package com.tang.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class DocDTO {
    private String id;
    @NotBlank
    private String ebookId;
    @NotBlank
    private String parent;
    @NotBlank
    private String name;
    @NotNull
    private Integer sort;

    private String content;

    private Integer viewCount;

    private Integer voteCount;
}
